package com.paobuji.aidebao.myapplication.bean;

import java.io.Serializable;

/**
 * Created by lenovo on 2017/3/7.
 */

public class UserBean implements Serializable {
    private int id;
    private String username;
    private String usersex;
    private String birth;
    private double weight;
    private double height;
    private String userImg;
    private String userhobby;
    private String userphone;
    private String userpass;
    private String userfrom;
    private String channelid;
    private double allDis;
    private double allCir;
    private int allTime;
    private String identified;

    //单例模式
    private static UserBean userBean;
    public static UserBean getUserBean() {
        if (null == userBean) {
            userBean = new UserBean();
        }
        return userBean;
    }


    public UserBean() {

    }

    public UserBean(int id, String username, String usersex, String birth, double weight,
                    double height, String userImg, String userhobby, String userphone,
                    String userpass, String userfrom, String channelid, double allDis,
                    double allCir, int allTime, String identified) {
        this.id = id;
        this.username = username;
        this.usersex = usersex;
        this.birth = birth;
        this.weight = weight;
        this.height = height;
        this.userImg = userImg;
        this.userhobby = userhobby;
        this.userphone = userphone;
        this.userpass = userpass;
        this.userfrom = userfrom;
        this.channelid = channelid;
        this.allDis = allDis;
        this.allCir = allCir;
        this.allTime = allTime;
        this.identified = identified;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUsersex() {
        return usersex;
    }

    public void setUsersex(String usersex) {
        this.usersex = usersex;
    }

    public String getBirth() {
        return birth;
    }

    public void setBirth(String birth) {
        this.birth = birth;
    }

    public double getWeight() {
        return weight;
    }

    public void setWeight(double weight) {
        this.weight = weight;
    }

    public double getHeight() {
        return height;
    }

    public void setHeight(double height) {
        this.height = height;
    }

    public String getUserImg() {
        return userImg;
    }

    public void setUserImg(String userImg) {
        this.userImg = userImg;
    }

    public String getUserhobby() {
        return userhobby;
    }

    public void setUserhobby(String userhobby) {
        this.userhobby = userhobby;
    }

    public String getUserphone() {
        return userphone;
    }

    public void setUserphone(String userphone) {
        this.userphone = userphone;
    }

    public String getUserpass() {
        return userpass;
    }

    public void setUserpass(String userpass) {
        this.userpass = userpass;
    }

    public String getUserfrom() {
        return userfrom;
    }

    public void setUserfrom(String userfrom) {
        this.userfrom = userfrom;
    }

    public String getChannelid() {
        return channelid;
    }

    public void setChannelid(String channelid) {
        this.channelid = channelid;
    }

    public double getAllDis() {
        return allDis;
    }

    public void setAllDis(double allDis) {
        this.allDis = allDis;
    }

    public double getAllCir() {
        return allCir;
    }

    public void setAllCir(double allCir) {
        this.allCir = allCir;
    }

    public int getAllTime() {
        return allTime;
    }

    public void setAllTime(int allTime) {
        this.allTime = allTime;
    }

    public String getIdentified() {
        return identified;
    }

    public void setIdentified(String identified) {
        this.identified = identified;
    }
}
